local t = Def.ActorFrame{};

t[#t+1] = Def.ActorFrame { --north door
	InitCommand=function(self) self:Center():addy(-405+245):zoom(1.8) end;
	OnCommand=function(self) self:sleep(0.1):decelerate(0.5):addy(-245) end;
	LoadActor("northdoor")..{
	};
	LoadActor("1t")..{
		InitCommand=function(self) self:zoom(0.7):addy(75) end;
	};
};

t[#t+1] = Def.ActorFrame { --south door
	InitCommand=function(self) self:Center():addy(405-245):zoom(1.8) end;
	OnCommand=function(self) self:sleep(0.1):decelerate(0.5):addy(245) end;
	LoadActor("southdoor")..{
	};
	LoadActor("2t")..{
		InitCommand=function(self) self:zoom(0.7):addy(-75) end;
	};
};

t[#t+1] = LoadActor("open")..{
	OnCommand=function(self) self:queuecommand("Play") end;
	PlayCommand=function(self) self:play() end;
};

return t;